// Package ioc
// Created by GoLand
// @User: lenora
// @Date: 2024/1/3
// @Time: 13:17

package ioc

import (
	"camp/microbook/internal/service/oauth2/wechat"
)

func InitWechat() wechat.Service {
	//获取环境变量
	//appId, ok := os.LookupEnv("WECHAT_APP_ID")
	//if !ok {
	//	panic("get env failed")
	//}
	appId := "aaaaa"
	appSecret := "ttt"
	return wechat.NewService(appId, appSecret)
}
